group :runtime do
  launch(:nginx, "nginx",
         :order => 50,
         :mandatory => false,
	 :start => "nginx -p ./",
         #:started => {:port => Platform.config.nginx.port},
         :stop => :kill
  )

  backend(:nginx_access_log_rotate, ".",
          :gem => "btxm-platform-backend",
          :policy => "cron 01 0 0 * * * ",
          :script => "nginx_access_log_rotator.rb",
          :order => 60,
          :description => "The nginx access log rotator"
  )

end
